package com.messe.base.models;

import java.util.HashSet;
import java.util.Set;

/**
 * Area entity. @author MyEclipse Persistence Tools
 */

public class OrganizationArea implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -7587731890855994593L;
	private String id;
	private Integer type;
	private Organization organization;
	private Integer checkFlag;
	private String areaName;
	private Set<OrganizationAreaAppendix> organizationAreaAppendixs = new HashSet<OrganizationAreaAppendix>(0);

	
	public OrganizationArea( Integer type,String id, String areaName) {
		super();
		this.id = id;
		this.type = type;
		this.areaName = areaName;
	}

	// Constructors

	/** default constructor */
	public OrganizationArea() {
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCheckFlag() {
		return checkFlag;
	}

	public void setCheckFlag(Integer checkFlag) {
		this.checkFlag = checkFlag;
	}

	public String getAreaName() {
		return areaName;
	}

	public void setAreaName(String areaName) {
		this.areaName = areaName;
	}

	public Set<OrganizationAreaAppendix> getOrganizationAreaAppendixs() {
		return organizationAreaAppendixs;
	}

	public void setOrganizationAreaAppendixs(Set<OrganizationAreaAppendix> organizationAreaAppendixs) {
		this.organizationAreaAppendixs = organizationAreaAppendixs;
	}

	public Organization getOrganization() {
		return organization;
	}

	public void setOrganization(Organization organization) {
		this.organization = organization;
	}


}